<template>
	<view>
		<!-- 下方小飞机 回复内容组件 -->
		<view class="commentPopup">
			<input type="text" class="ipt" placeholder="请输入评论内容" maxlength="50">
			<view class="button" @click="onSubmit">
				<uni-icons type="paperplane" size="26" color="#333"></uni-icons>
			</view>
		</view>
		<view class="safe-area-bottom" :style="{background:'#fff'}"></view>
	</view>
</template>

<script setup>
	const onSubmit = () => {
		console.log("点击评论");
	}
</script>

<style lang="scss" scoped>
	.commentPopup {
		background: #fff;
		padding: 30rpx;
		display: flex;
		align-items: center;
		justify-content: center;

		.ipt {
			background: #f7f7f7;
			height: 70rpx;
			flex: 1;
			padding: 0 20rpx;
			font-size: 28rpx;
			color: #333;
		}

		.button {
			width: 70rpx;
			height: 70rpx;
			margin-left: 10rpx;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
</style>